package org.ams.menu.service.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.ams.menu.dao.MenuDao;
import org.ams.menu.entity.Menu;
import org.ams.menu.service.MenuService;
import org.springframework.stereotype.Service;

@Service("menuService")
public class MenuServiceImpl implements MenuService {

	@Resource
	private MenuDao menuDao;
	
	@Override
	public List<Menu> queryMenuListByPage(Map<String, Object> params) {
		return menuDao.queryMenuListByPage(params);
	}

	@Override
	public List<Menu> queryMenuListByAccountId(Integer accountId) {
		return menuDao.queryMenuListByAccountId(accountId);
	}

	@Override
	public List<Menu> queryMenuListByMap(Map<String, Object> params) {
		return menuDao.queryMenuListByMap(params);
	}

}
